package org.gdstash.ui;

import org.gdstash.item.GDItem;
import org.gdstash.ui.util.GDCharInfoList;
import org.gdstash.ui.util.GDStashInfoList;

import java.awt.*;

public interface GDUITransfer {
    public static final int LOCATION_NONE = 0;
    public static final int LOCATION_STASH = 1;
    public static final int LOCATION_TABLE = 2;
    public static final int ACTION_STASH_MOVE_STASH = 1;
    public static final int ACTION_STASH_COPY_TABLE = 2;
    public static final int ACTION_STASH_MOVE_TABLE = 3;
    public static final int ACTION_TABLE_COPY_STASH = 4;
    public static final int ACTION_TABLE_DELETE = 5;
    public static final int ACTION_STASH_DELETE = 6;
    public static final int ACTION_PAGE_COPY_TABLE = 7;
    public static final int ACTION_PAGE_MOVE_TABLE = 8;
    public static final int ACTION_PAGE_DELETE = 9;

    void setChar(final GDCharInfoList.GDCharFileInfo p0);

    void setStash(final GDStashInfoList.GDStashFileInfo p0);

    int getItemLocation();

    GDItem getSelectedItem();

    void setSelectedItem(final GDItem p0, final int p1);

    void transferSelectedItem(final int p0, final int p1, final int p2);

    void checkSaveButton();

    Frame getFrame();
}
